<html>
 <head>
  <title>/s</title>
 </head>
 <body>
  <div class="section title">
   <h1><code>/s</code></h1>

   <p> The <code>"/s"</code> application provides system security
     services.
   </p>

   <p> Both <code>GET</code> and <code>POST</code> employ
     parameters <code>"name"</code> and <code>"password"</code> to get
     or create a user authentication certificate.
   </p>

   <p> Both methods return a DER encoded X509 certificate.  A request
     missing parameters produces a "Bad Request" response.  A
     certificate not found produces a "Not Found" response.
   </p>

  </div>

  <div class="section">
    <h2><code>GET</code></h2>

    <p> Return an existing user authentication certificate.  With
      parameter <code>"pki"</code>, use value "private" to return the
      private key, otherwise (any value) return the public key.
      Without <code>"pki"</code>, return the public certificate.
    </p>
  </div>

  <div class="section">
    <h2><code>POST</code></h2>

    <p> Get or create a user authentication certificate.
    </p>
  </div>

 </body>
</html>
